
INCLUDEPATH = -I../../../include/board/isamips_qemu/ -I../../../include/processor/isamips_qemu
OBJECTS = $(patsubst %.c, %.o, $(wildcard *.c))

all: $(OBJECTS)
	$(LD) -r $(OBJECTS) -o board.o

%.o: %.c
	$(GCC) -c $(INCLUDEPATH) $^ -o $@

clean:
	-rm -rf ./*.o
	-rm -rf ./*~
	-rm -rf ../../../include/board/isamips_qemu/*~

